package model

type ReqUser struct {
	Id       int    `xorm:"not null pk autoincr INT(10)" json:"id" form:"id"`
	Acid     int    `xorm:"" json:"acid" form:"acid"`
	Name     string `xorm:"" json:"name" form:"name"`
	Phone    string `xorm:"" json:"phone" form:"phone"`
	Nickname string `xorm:"" json:"nickname" form:"nickname"`
	Avatar   string `xorm:"" json:"avatar" form:"avatar"`
	IsRobot  int    `xorm:"" json:"is_robot" form:"is_robot"`
	SubMchId string `xorm:"" json:"sub_mch_id" form:"sub_mch_id"`
	Sex      int    `xorm:"" json:"sex" form:"sex"`
	Birthday string `xorm:"" json:"birthday" form:"birthday"`
}

func (ReqUser) TableName() string {
	return "user"
}

type WithdrawalApply struct {
	Id      int     `json:"id"`
	OpenId  string  `json:"open_id"`
	Amount  float32 `json:"amount"`
	OrderNo string  `json:"order_no"`
	Desc    string  `json:"desc"`
	Remark  string  `json:"remark"`
	Acid    int     `json:"acid"`
}
